package com.wn.demo05;

import java.util.Arrays;
import java.util.List;

/**
 * @author yellow Docter
 * @date 2024 -06-17
 * @desc
 */
public class Demo01 {

    static Integer[] num = new Integer[]{1,2,3,4,5,6};

    Employee emma = new Employee("001", "Emma", 41, 20000);
    Employee mary = new Employee("002", "Mary", 39, 18000);
    Employee allen = new Employee("003", "Allen", 33, 15000);
    Employee olivia = new Employee("004", "Olivia", 52, 32000);
    Employee natasha = new Employee("005", "Natasha", 27, 13000);

    Employee kevin = new Employee("006", "Kevin", 25, 10000);
    Employee haivent = new Employee("007", "haivent", 25, 12000);

    private List<SalesPerson> sales = Arrays.asList(
            new SalesPerson(emma, "ChengDu", "2005"),
            new SalesPerson(mary, "ShangHai", "2010"),
            new SalesPerson(allen, "ShangHai", "2005"),
            new SalesPerson(olivia, "ShenZhen", "2006"),
            new SalesPerson(natasha, "ChengDu", "2008"),
            new SalesPerson(kevin, "ChengDu", "2005"),
            new SalesPerson(haivent, "BeiJing", "2005")
    );

    public static void main(String[] args) {

    }

}
